#if !defined(AFX_DLGGUIDEBAR_H__FE6EAD75_B051_4E53_99AD_A04DF13C508B__INCLUDED_)
#define AFX_DLGGUIDEBAR_H__FE6EAD75_B051_4E53_99AD_A04DF13C508B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgGuideBar.h : header file
//
#include "..\..\Inc\Center\Public.h"
#include "..\..\Inc\Center\WzdToolTipCtrl.h"
#include "DlgGuideProjSet.h"
#include "DlgGuideOneUnit.h"
#include "DlgGuideDrawUnit.h"
#include "DlgGuidePrint.h"

/////////////////////////////////////////////////////////////////////////////
// CDlgBarGuide dialog

class CDlgBarGuide : public CDialog
{
private:
	int         m_BtnHeight ;
	int			m_CheckBtn	;
	int			m_nBtnCount	;
	CWzdToolTipCtrl m_tip	;

	CTmButton*			m_pBtn[40]	;
	CDialog*	m_pDlg[GUIDE_BUTTON_COUNT]	;
	void	RefreshCtrPos(int oldBtn=-1);
public:
	int		GetCheckButton();
	BOOL    EnableCheck(int nCheck);
	void	SetButtonCheck(int nCheck,BOOL bMaunal);

// Construction
public:
	CDlgBarGuide(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgBarGuide)
	enum { IDD = IDD_Dlg_Bar_Guide };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgBarGuide)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnSize(UINT nType, int cx, int cy);
 	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
 	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGGUIDEBAR_H__FE6EAD75_B051_4E53_99AD_A04DF13C508B__INCLUDED_)
